package com.bba.manager.common.model.sku;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 厂商汽车库存
 * </p>
 *
 * @author SYANDZZY
 * @since 2025-08-12
 */
@Getter
@Setter
@TableName("car_vendor")
public class CarVendor implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车辆编号
     */
      @TableId("id")
    private Long id;

    /**
     * 车系编号
     */
    @TableField("series_id")
    private Integer seriesId;

    /**
     * 车辆型号
     */
    @TableField("car_type")
    private String carType;

    /**
     * 车辆颜色
     */
    @TableField("color")
    private String color;

    /**
     * 车辆进价
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 车辆售价
     */
    @TableField("sale_price")
    private BigDecimal salePrice;

    /**
     * 车辆库存
     */
    @TableField("repertory")
    private Integer repertory;

    /**
     * 车辆入库时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
}
